<template>
  <el-container>
    <el-header>
      <el-row>
        <el-col span="20">
          <div class="top">
            <ul class="category">
              <li style="float: left;margin-right: 0" class="son"><img class="icon1" src="../assets/imgs/logo_p-01.png">
              </li>
              <li style="float: left;margin-left: 0" class="son"><img class="icon2" src="../assets/imgs/logo_w-01.png">
              </li>
              <li class="son"><a href="">首页</a></li>
              <li class="son"><a href="">健身</a></li>
              <li class="son"><a href="http://localhost:8080/mall/index">商城</a></li>
              <li class="son"><a href="">音乐</a></li>
              <li class="son"><a href="">短视频</a></li>
              <li class="son"><a href="">活动</a></li>
              <li class="son"><a href="">技术实验室2.0</a></li>
            </ul>
          </div>
        </el-col>
        <el-col span="4" style="margin: 0 auto;line-height: 67px">
          <el-row>
            <el-col span="20">
              <span style="float: right;color: white;">
                欢迎努力上进的你： <span style="font-weight: bold;">周杰伦</span>
              </span>
            </el-col>
            <el-col span="4" style="margin-top: 10px">
              <el-avatar src="../assets/head.jpg"></el-avatar><br>
            </el-col>
          </el-row>
        </el-col>
      </el-row>
    </el-header>
    <el-main>
      <router-view/>
    </el-main>
    <el-footer>footer</el-footer>
  </el-container>

</template>
<script>
export default {
  data() {
    return {
    };
  },

}
</script>
<style>
.son{
  float: left;margin: 5px 20px 0 20px;list-style: none;
}
.son a{
  text-decoration: none;color: white;
}
.top{
  z-index: 10;width: 1190px;margin: 0 auto;
}
.back{
  z-index: 1;margin: 0 auto;
}
.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 300px;
  margin: 0 auto;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
body{
  margin: 0;
}
.el-header{
  height: 70px;background-color: rgb(23,24,25);width: 100%;margin: 0 auto;
}
.icon1{
  width: 20px;margin-bottom: 20px;margin-right: 10px;
}
.icon2{
  width: 250px;margin-bottom: 20px;margin-right: 20px;margin-left: 10px;
}
.el-container is-vertical .el-main{
  background-color: rgb(249,249,249);margin: 0;padding: 0px;width: 100%;
}
.icon3{
  width: 100px;float: left;margin-top: 15px;margin-left: 150px;
}
</style>